//
//  JSTPublishBar.h
//  KYKJPackDemo
//
//  Created by 01 on 17/5/16.
//  Copyright © 2017年 ???. All rights reserved.
//

#import "JSTPublicView.h"

@protocol PublishBarDelegate <NSObject>
@optional

- (void)publishBarWithBut:(UIButton *)but;

//是否允许陌生人评论
- (void)publishBarToStrangerWithBut:(UIButton *)but;


- (void)getPublishBarToPickerWithTag:(NSInteger ) tag;

@end

@interface JSTPublishBar : JSTPublicView

@property (nonatomic,weak) id <PublishBarDelegate>delegate;

@property (nonatomic,strong) UIButton *strangerBut; //陌生人按钮

@property (nonatomic,strong) UILabel *strangerLabel;

@property (nonatomic,strong) UIButton *showBut; //表情图片按钮

@property (nonatomic,strong) UIButton *imageBut; //上传图片按钮

/**
 *  初始化
 */
- (instancetype)initWithFrame:(CGRect)frame andView:(UITextView *)myTextView;

@end
